1103dd565eb36bbb9d18ebddc16ffafc973282bc,main/java/PowerPaint/src/com/kreative/paint/ToolContext.java,ToolContext,ToolContext,#MaterialsManager#,143
Before Change
// calligraphy brushes
this.calligraphyBrushes = mm.getCalligraphyBrushes();
this.calligraphyBrushIndex = 0;
this.calligraphyBrush = this.calligraphyBrushes.getLatter(0);
this.calligraphyContinuous = false;
// charcoal brushes
this.charcoalBrushes = mm.getCharcoalBrushes();
After Change
this.brush = this.brushes.get(0);
// calligraphy brushes
this.calligraphyBrushes = new ArrayList<Sprite>();
for (SpriteSheet ss : mm.getCalligraphyBrushes().latterList()) {
this.calligraphyBrushes.addAll(ss.getSprites());
}
this.calligraphyBrushIndex = 0;
this.calligraphyBrush = this.calligraphyBrushes.get(0);